/* Right panel */
#kuthi-panel-3 {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: #ffffff;
  padding: 0px 0;
  width: 10in;
  height: 13.6in;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

/* Responsive: stack panels on small screens */
@media (max-width: 900px) {
  #kuthi-flex-panels {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }

  #kuthi-panel-1,
  #kuthi-panel-2,
  #kuthi-panel-3 {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  #kuthi-panel-3 {
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 6px 4px;
  }

  .expand-btn {
    padding: 3px 6px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
  }

  #todayrabi, #todaychandra, #todaymangal, #todaybudha, 
  #todayguru, #todaysukra, #todaysani, #todayrahu, #todayketu,
  #birthrabi, #birthchandra, #birthmangal, #birthbudha,
  #birthguru, #birthsukra, #birthsani, #birthrahu, #birthketu {
    padding-left: 6px !important;
    padding-right: 4px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    font-size: 0.78rem !important;
  }

  #todayrabicontent, #todaychandracontent, #todaymangalcontent,
  #todaybudhacontent, #todaygurucontent, #todaysukracontent,
  #todaysanicontent, #todayrahucontent, #todayketucontent,
  #rabitransit, #chandratransit, #mangaltransit, #budhatransit,
  #gurutransit, #sukratransit, #sanitransit, #rahutransit, #ketutransit {
    padding-left: 3px !important;
    padding-right: 3px !important;
    padding-bottom: 3px !important;
    border: none !important;
    margin-bottom: 4px !important;
  }

  .transit-timeline-card {
    padding: 4px 5px !important;
    margin-top: 2px !important;
    margin-bottom: 4px !important;
  }

  .transit-item-row {
    padding: 2px 4px !important;
    gap: 3px !important;
    font-size: 0.7rem !important;
  }

  .transit-date-chip {
    font-size: 0.65rem !important;
    padding: 1px 4px !important;
  }

  .transit-result-val {
    font-size: 0.7rem !important;
  }
}







/* Base button style */
.btn {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin: 4px;
}

/* Hover effect */
.btn:hover {
  transform: scale(1.02);
}

/* View buttons - cool blue */

.btn-view.active {
  background-color: #3498db;
  /* Or any color you want */
  color: white;
  font-weight: bold;
}




/* Print buttons - green accent */
.btn-print {
  background: linear-gradient(90deg, #4fdd95, #38b679);
  color: white;
}

/* Language buttons - neutral slate */
.btn-lang {
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
}

.btn-lang:hover {
  background: #e3e3e3;
}


@media (max-width: 600px) {
  .btn {
    font-size: 12px;
    padding: 6px 10px;
    margin: 3px;
  }

  #button-bar {
    gap: 6px;
    padding: 8px;
  }
}
















/* 2nd added */
.a4-panel {
  width: 100%;
  flex: 1;
  max-width: 100%;
  margin: 0;
  box-shadow: none;
  padding: 15px 20px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .a4-panel {
    width: 100vw;
    height: calc(100vw * (11.69 / 8.27));
    padding: 8px;
  }
}



button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.consultancy-note {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* or fixed: height: 11.69in for print */
  border: 1px solid #ffffff;
  background: #fff;
  font-family: 'Georgia', serif;
  margin-left: clamp(1rem, 1.5vw, 3rem);
  margin-right: clamp(1rem, 1.5vw, 3rem);

  padding: 0;
  box-sizing: border-box;
}

.savana-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.savana-website {
  font-size: clamp(2px, 2vw, 10px);
  color: #1a237e;
  font-weight: 600;
  font-family: 'Georgia', serif;
  text-decoration: underline;
}

.savana-subtext {
  font-size: clamp(2px, 1.5vw, 9.5px);
  color: #424242;
  font-style: italic;
  font-family: 'Georgia', serif;
}


/* Heading takes 1/8 of total height */
.note-header {
  flex: 0 0 8%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  padding: clamp(6px, 1vw, 12px) clamp(10px, 2vw, 20px);
  /* Responsive top/bottom and left/right padding */
  border-bottom: 1px solid #ffffff;
  box-sizing: border-box;
  gap: clamp(4px, 1vw, 10px);
  /* Responsive gap between left and right sections */
}

.note-heading-left {
  flex: 1;
  display: flex;
  align-items: center;
}


.note-heading-right {
  text-align: right;
  font-family: 'Georgia', serif;
  color: #0d47a1;
  max-width: 60vw;

  line-height: 1.3;
  padding-top: 2px;
}

.consultancy-name {
  font-size: clamp(1px, 3.6vw, 25px);
  font-weight: bold;
  font-style: italic;
  border-bottom: 2px solid #0d47a1;
  padding-bottom: clamp(2px, 0.5vw, 6px);
  /* Responsive padding */
  margin-bottom: clamp(2px, 0.5vw, 6px);
  /* Responsive margin */
}

.consultancy-info div {
  font-size: clamp(2px, 1.3vw, 10px);
  line-height: 1.4;
  color: #263238;
  /* A dark grey for better legibility */
}


/* Remaining 7/8 */
.note-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0px;
  box-sizing: border-box;
}

/* Meta Info Section */
.note-meta-section {
  text-align: center;
  margin-bottom: 0px;
}

.note-line {
  border-top: 1px solid #999;
  margin: clamp(4px, 1vw, 8px) 0;
  /* Responsive vertical spacing */
}

.note-meta {
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(6px, 2vw, 12px);
  /* Responsive horizontal padding */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: clamp(0.01rem, 1.6vw, 16px);
  color: #333;
}


.note-body {
  line-height: 1.35;
  margin: clamp(6px, 1vw, 10px) 0;
  padding: clamp(10px, 2vw, 15px);
  margin-left: clamp(10px, 2vw, 15px);
  margin-right: clamp(10px, 2vw, 15px);
  font-family: 'Georgia', serif;
  color: #212121;
  font-size: clamp(12px, 2.6vw, 22px);
}










#astrologerFormModal {
  transition: all 0.3s ease-in-out;
}







.btn {
  padding: 6px 12px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.btn-edit {
  background-color: #4caf50;
  color: white;
}

#astrologerFormModal input,
#astrologerFormModal textarea {
  font-size: 14px;
  margin-top: 4px;
}

#astrologerFormModal button {
  margin-right: 6px;
  margin-top: 10px;
  padding: 4px 10px;
}


.astro-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgb(235, 244, 255);
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 24px;
  width: 340px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: cursive;
}

.astro-modal-title {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-align: center;
}

.astro-modal-group {
  margin-bottom: 14px;
}

.astro-modal-group label {
  font-weight: 500;
  color: #444;
  display: block;
  margin-bottom: 4px;
}

.astro-modal-input,
.astro-modal-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.astro-modal-buttons {
  text-align: center;
  margin-top: 20px;
}

.astro-modal-buttons button {
  padding: 8px 16px;
  margin-right: 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  color: white;
  font-family: inherit;
}

.btn-save {
  background-color: #4caf50;
}

.btn-reset {
  background-color: #f44336;
}

.btn-close {
  background-color: #777;
}









.savana-year-glass {
  margin-top: 1px;
  font-size: clamp(20px, 3vw, 42px);
  font-weight: bold;

  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  width: fit-content;

  color: #cecbca !important;
}





/* Expand button for extra information planet transit */
.expand-btn {
  margin-top: 6px;
  font-size: clamp(3px, 1.2vw, 10px);
  padding: 2px 5px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background-color: #e4e6e5;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 30px;
}

.expand-btn:hover {
  background-color: #eee;
}